package com.ruoyi.common.core.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 污染区域对象 usv_boat_status
 * 
 * @author lwq
 * @date 2021-07-02
 */
@Data
@ApiModel("污染区域模型")
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName(value ="sys_boat_pollute")
public class SysBoatPollute extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** ID */
    @ApiModelProperty(value = "ID")
    @TableId(type = IdType.AUTO)
    private long id;

    /** 航船编号 */
    @Excel(name = "航船编号")
    @ApiModelProperty(value = "航船编号")
    private String boatSn;

    /** 任务ID */
    @Excel(name = "任务ID")
    @ApiModelProperty(value = "任务ID-关联sys-task表主键id")
    private long taskId;

    /** 无人船ID */
    @Excel(name = "无人船ID")
    @ApiModelProperty(value = "无人船ID-关联sys-device_info表主键id")
    private long deviceId;

    /** 帧ID */
    @Excel(name = "帧ID")
    @ApiModelProperty(value = "帧ID")
    private long frameID;

    /** 目标1x id */
    @Excel(name = "目标1x id")
    @ApiModelProperty(value = "目标1x id")
    private long target_id;

    /** 目标1时间 */
    @Excel(name = "目标1时间")
    @ApiModelProperty(value = "目标1时间")
    private float target_time;

    /** 目标1x坐标 */
    @Excel(name = "目标1x坐标")
    @ApiModelProperty(value = "目标1x坐标")
    private double target_x;

    /** 目标1y坐标y */
    @Excel(name = "目标1y坐标")
    @ApiModelProperty(value = "目标1y坐标")
    private double target_y;

    /** 目标1经度 */
    @Excel(name = "目标1经度")
    @ApiModelProperty(value = "目标1经度")
    private double target_longitude;

    /** 目标1纬度 */
    @Excel(name = "目标1纬度")
    @ApiModelProperty(value = "目标1纬度")
    private double target_latitude;

    /** 目标1东向速度 */
    @Excel(name = "目标1东向速度")
    @ApiModelProperty(value = "目标1东向速度")
    private float target_Ve;

    /** 目标1北向速度 */
    @Excel(name = "目标1北向速度")
    @ApiModelProperty(value = "目标1北向速度")
    private float target_Vn;

    /** 目标1半径 */
    @Excel(name = "目标1半径")
    @ApiModelProperty(value = "目标1半径")
    private float target_square_radius;

    /** 记录时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty(value = "记录时间")
    private Date time;
}
